[Autogluon] df50_tr, df005_tst

Author

김보람

Published

February 14, 2024

  1. 2/14

  2. 4/9

imports

import pandas as pd
import numpy as np
import sklearn
import pickle 
import time 
import datetime
import warnings
warnings.filterwarnings('ignore')
%run ../functions-auto.py
with open('../fraudTrain.pkl', 'rb') as file:
    fraudTrain = pickle.load(file)    
auto_amt_nb3(fraudTrain,10)
model time acc pre rec f1 auc graph_based method throw_rate train_size train_cols train_frate test_size test_frate hyper_params
0 KNeighborsUnif None 0.875755 0.007702 0.78125 0.015253 0.884682 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
1 KNeighborsDist None 0.867634 0.007517 0.81250 0.014895 0.880694 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
2 LightGBMXT None 0.883877 0.008237 0.78125 0.016303 0.923171 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
3 LightGBM None 0.896732 0.009256 0.78125 0.018295 0.939773 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
4 RandomForestGini None 0.849698 0.006875 0.84375 0.013640 0.909261 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
5 RandomForestEntr None 0.849698 0.006875 0.84375 0.013640 0.909261 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
6 CatBoost None 0.890651 0.008744 0.78125 0.017295 0.930557 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
7 ExtraTreesGini None 0.857896 0.007004 0.81250 0.013889 0.918836 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
8 ExtraTreesEntr None 0.855818 0.007166 0.84375 0.014211 0.909375 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
9 NeuralNetFastAI None 0.965706 0.025414 0.71875 0.049093 0.823335 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
10 XGBoost None 0.895616 0.009158 0.78125 0.018103 0.940320 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
11 NeuralNetTorch None 0.883030 0.007856 0.75000 0.015549 0.921634 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
12 LightGBMLarge None 0.852200 0.006736 0.81250 0.013361 0.939314 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None
13 WeightedEnsemble_L2 None 0.883877 0.008237 0.78125 0.016303 0.923171 False Auto_not_best 0.130637 9009 [amt] 0.50383 25981 0.001232 None